package name.matthewgreet.strutscommons.util; import name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor; /** * Interface of form formatter in Struts 2. This must be executed in a Struts 2 Action context, whether in Action code * or in an Interceptor. */ public interface FormFormatter { /** * Called by {@link FormFormatterInterceptor} to push formatted versions of every form onto the Value Stack or set * the formatted half of formatted/unformatted field pairs. */ public void formatForms(); /** * Same as {@link #formatForms()} but can use a different set of converters. */ public void formatForms(PolicyLookup policyLookup); }